project(Agent)

aux_source_directory(agent AGENT_SRCS)
aux_source_directory(agentFactory AGENTFACTORY_SRCS)
aux_source_directory(aiui AIUI_SRCS)
aux_source_directory(audio AUDIO_SRCS)
aux_source_directory(baidu BAIDU_SRCS)
aux_source_directory(config CONFIG_SRCS)
aux_source_directory(gui GUI_SRCS)
aux_source_directory(iat IAT_SRCS)
aux_source_directory(messageQueue MESSAGEQUEUE_SRCS)
aux_source_directory(mmd MMD_SRCS)
aux_source_directory(weather WEATHER_SRCS)
aux_source_directory(openAPP OPENAPP_SRCS)
aux_source_directory(smartHome SMARTHOME_SRCS)

add_library(${PROJECT_NAME}
    ${AGENT_SRCS}
    ${AGENTFACTORY_SRCS}
    ${AIUI_SRCS}
    ${AUDIO_SRCS}
    ${BAIDU_SRCS}
    ${CONFIG_SRCS}
    ${GUI_SRCS}
    ${IAT_SRCS}
    ${MESSAGEQUEUE_SRCS}
    ${MMD_SRCS}
    ${WEATHER_SRCS}
    ${OPENAPP_SRCS}
    ${SMARTHOME_SRCS}
    gl3w/src/gl3w.c
)